<template>
  <tab-bar>
    <tab-bar-items link="/home" TabColor="#ff5577">
      <img slot="bar-icon" src="../../assets/images/tabbar/home.svg" alt="">
      <img slot="bar-icon-active" src="../../assets/images/tabbar/home_active.svg" alt="">
      <div slot="bar-text">首页</div>
    </tab-bar-items>
    <tab-bar-items link="/category" TabColor="#ff5577">
      <img slot="bar-icon" src="../../assets/images/tabbar/category.svg" alt="">
      <img slot="bar-icon-active" src="../../assets/images/tabbar/category_active.svg" alt="">
      <div slot="bar-text">分类</div>
    </tab-bar-items>
    <tab-bar-items link="/cart" TabColor="#ff5577">
      <img slot="bar-icon" src="../../assets/images/tabbar/shopcart.svg" alt="">
      <img slot="bar-icon-active" src="../../assets/images/tabbar/shopcart_active.svg" alt="">
      <div slot="bar-text">购物车</div>
    </tab-bar-items>
    <tab-bar-items link="profile" TabColor="#ff5577">
      <img slot="bar-icon" src="../../assets/images/tabbar/profile.svg" alt="">
      <img slot="bar-icon-active" src="../../assets/images/tabbar/profile_active.svg" alt="">
      <div slot="bar-text">我的</div>
    </tab-bar-items>
  </tab-bar>
</template>

<script>
  import TabBar from "../TabBar/TabBar";
  import TabBarItems from "../TabBar/TabBarItems";
  export default {
    name: "MainTabBar",
    components: {
      TabBar,
      TabBarItems
    }
  }
</script>

<style scoped>

</style>
